package name.hankc.spring;

import name.hankc.spring.bean.Cat;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AnnotationXMLApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(ImportXmlAnnotationConfiguration.class);
    Cat cat = ctx.getBean(Cat.class);
    System.out.println(cat);
  }
}